package dto;

import java.awt.Color;
import java.awt.Font;
import java.util.Date;
import javax.swing.ImageIcon;

public class Message implements java.io.Serializable {

    private static final long serialVersionUID = -1023149005083157769L;
    private Integer id;
    private Account to;
    private Account from;
    private Date date;
    private String body;
    private Font font;
    private Color color;
    private ImageIcon image;

    public Message() {
    }

    public Message(Account to, Account from, Date date,
            String body) {
        this.to = to;
        this.from = from;
        this.date = date;
        this.body = body;
    }

    public Integer getId() {
        return this.id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Account getTo() {
        return to;
    }

    public void setTo(Account to) {
        this.to = to;
    }

    public Account getFrom() {
        return from;
    }

    public void setFrom(Account from) {
        this.from = from;
    }

    public Date getDate() {
        return this.date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public String getBody() {
        return this.body;
    }

    public void setBody(String body) {
        this.body = body;
    }

    public Font getFont() {
        return font;
    }

    public void setFont(Font font) {
        this.font = font;
    }

    public Color getColor() {
        return color;
    }

    public void setColor(Color color) {
        this.color = color;
    }

    public ImageIcon getImage() {
        return image;
    }

    public void setImage(ImageIcon image) {
        this.image = image;
    }
}
